--Setting armor_use to 88 should yeild about 1000 uses.

armor:register_armor('epic:ring_of_speed', {
   description = 'Ring of Speed',
   inventory_image = 'epic_ring_speed.png',
   texture = 'epic_blank.png',
   preview = 'epic_blank.png',
   groups = {armor_ring=1, armor_use=88, physics_speed=.75, armor_dmg_resist=.5, not_in_creative_inventory=1},
   armor_groups = {fleshy=1},
   damage_groups = {cracky=2, snappy=1, level=3},
})

armor:register_armor('epic:ring_of_health', {
   description = 'Ring of Health',
   inventory_image = 'epic_ring_speed.png',
   texture = 'epic_blank.png',
   preview = 'epic_blank.png',
   groups = {armor_ring=1, armor_use=88, armor_dmg_resist=.5, not_in_creative_inventory=1},
   armor_groups = {fleshy=1},
   damage_groups = {cracky=2, snappy=1, level=3},
   on_equip = function(player, index, stack)
      maxhp.max_hp_change(player, 5)
   end,
   on_unequip = function(player, index, stack)
      maxhp.max_hp_change(player, -5)
   end,
   on_destroy = function(player, index, stack)
      maxhp.max_hp_change(player, -5)
   end,
})
